package main
import "fmt"

type Foo map[string]string
type Bar struct{
  thingOne string
  thingTwo int
}
func main(){
  // ok
  y		:= new(Bar)
  (*y).thingOne = "Hello"
  (*y).thingTwo = 1 
  fmt.Println(*y)

  //not ok, go0.10. is ok
  z		:= new(Bar)
  (*z).thingOne = "Hello"
  (*z).thingTwo = 1 
  fmt.Println(*z)

  // ok
  x		:= make(Foo)
  x["x"] = "goodbye"
  x["y"] = "world"
  fmt.Println(x)

//  // not ok
//  u		:= new(Foo)
//  (*u)["x"] = "goodbye"
//  (*u)["y"] = "world"

}
